package org.sabeot.enlistme.hibernate.dao;


import java.io.Serializable;
import java.util.List;

import org.hibernate.criterion.Criterion;

public interface AbstractDAO<E, I extends Serializable> {
        public E findById(I id);
        public void saveOrUpdate(E e);
        public void delete(E e);
        public List<E> findByCriteria(Criterion criterion);
        public List<E> findAll();
       
}

